<template>
  <div class="page-goods">
    <div class="order-top">
      <h3>
        <slot></slot>
      </h3>
      <a href="javascript:;" style="font-size: 16px;">查看全部 ></a>
    </div>
    <div class="goods-main">
      <div v-for="item in 4" :key="item" class="goods-detail">
        <img src="../../../../images/order-close.jpg" alt="">
        <p>ONLY夏季新款高腰宽松七分阔腿裙裤休闲裤</p>
        <span>￥274.5</span>
      </div>



    </div>


  </div>
</template>

<script setup lang='ts'>
</script>
<style scoped lang='less'>
.page-goods {
  width: 100%;
  height: 390px;
  // background-color: rgb(22, 122, 91);
  margin-top: 20px;

  .order-top {
    h3 {
      font-size: 22px;
      font-weight: normal;

    }

    display: flex;
    justify-content: space-between;
    padding: 20px;

  }

  .goods-main {
    width: 100%;
    height: 295px;
    // background-color: #fff;
    display: flex;
    justify-content: space-around;

    .goods-detail {
      width: 210px;
      height: 295px;
      background-color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      // align-items: center;

      img {
        width: 160px;
        height: 160px;
        margin: 0 auto;
      }

      p {
        margin-left: 20px;
        font-size: 16px;
      }

      span {
        margin-left: 20px;
        color: #cf4444;
        font-size: 22px;
      }


    }
  }
}
</style>